export interface ContextMenuData {
    label: string
    icon?: object
    divided?: boolean
    disabled?:  boolean
    children?: ContextMenuData[]
    tip?: string
    hidden?: boolean
    click?: (data?: ContextMenuData, parent?: Array<ContextMenuData>) => boolean | undefined
}

export interface ContextMenuItemProps {
    menu: ContextMenuData
    parent?: Array<ContextMenuData>
    index: number
    active: number
    direction: string
}